package com.tuozixuan.camel.cron;

import org.apache.camel.builder.RouteBuilder;
import org.springframework.stereotype.Component;

@Component
public class CronDemoRoute extends RouteBuilder {

	@Override
	public void configure() {
	    // 每隔一秒钟执行一次
//	    from("cron:tab?schedule=0/1+*+*+*+*+?")
//	    .setBody().constant("event")
//	    .log("${body}");
	
	}

}
